local skel = fk.CreateSkill {
  name = "efengqi__guqu_active",
}

skel:addEffect("active", {
  card_num = function (self)
    return #(self.suits or Util.DummyTable)
  end,
  target_num = 0,
  card_filter = function (self, player, to_select, selected)
    if type(self.suits) ~= "table" then return false end
    local suit = Fk:getCardById(to_select):getSuitString(true)
    return #selected < #self.suits and table.contains(self.suits, suit)
    and table.every(selected, function (id) return Fk:getCardById(id):getSuitString(true) ~= suit end)
  end,
})



return skel
